package com.rockcent.mall.lib.repository;

import com.rockcent.mall.lib.domain.MerchantOrderVerification;
import com.rockcent.mall.lib.dto.MerchantOrderVerificationDto;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * Created by DK on 16/10/29.
 */
@Repository
public interface MerchantOrderVerificationRepository extends JpaRepository<MerchantOrderVerification, Long>, JpaSpecificationExecutor, MerchantOrderVerificationRepositoryCustom {

    List<MerchantOrderVerification> findByMerchantOrderNumAndMerchantIdAndMallId(String orderNum, Long merchantId, Long mallId);
}
